﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DAL;
using System.Data;

namespace BLL.Db
{
    public class SearchInfoManager
    {
         /// <summary>
        /// 根据用户编号获取该用户的应缴费信息。
        /// </summary>
        /// <param name="filter">过滤条件</param>
        /// <returns></returns>
        public static DataSet GetPaymentInfoByUserID(string gasUserID,int znjDays)
        {
            return SearchInfoDatabase.GetPaymentInfoByUserID(gasUserID,znjDays);
        }

        /// <summary>
        /// 获取该用户的扣款标志
        /// </summary>
        /// <param name="userID"></param>
        /// <returns></returns>
        public static DataTable GetKouKuanFlag(string userID)
        {
            return SearchInfoDatabase.GetKouKuanFlag(userID);
        }

         /// <summary>
        /// 获取该用户是否有其他费
        /// </summary>
        /// <param name="userID"></param>
        /// <returns></returns>
        public static bool IsOtherMoney(string userID)
        {
            return SearchInfoDatabase.IsOtherMoney(userID);
        }

         /// <summary>
        /// 通过编号获取某用户的缴费信息
        /// </summary>
        /// <param name="userID"></param>
        /// <returns></returns>
        public static DataTable GetChargeInfoByUserID(string userID)
        {
            return SearchInfoDatabase.GetChargeInfoByUserID(userID);
        }
    }
}
